package main

import "fmt"

type student struct {
	name    string
	codeID  int
	ranking int
}

func main() {
	fmt.Println("尝试RPC")

	var ptr *student = nil
	tmp := student{name: "fanzhegnguang", codeID: 167, ranking: 1}
	ptr = &(tmp)
	fmt.Println(ptr, *ptr, ptr.name, (*ptr).name)

	(*ptr).name = "123"
	fmt.Println(tmp.name)
}
